package com.ideaction.controller;

import com.ideaction.globalconst.Result;
import com.ideaction.req.PlayerCommonReqBody;
import com.ideaction.service.AntiAddictionServiceImp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.query.Param;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;


/**
 * 防成谜控制器
 */
@RestController
public class AntiAddictionController {
    
    @Autowired
    private AntiAddictionServiceImp antiAddictionServiceImp;
    
    @PostMapping("/IdCardCheck")
    public String idCardCheck(@RequestBody PlayerCommonReqBody playerCommonReqBody) {
        return Result.build().response();
        //return antiAddictionServiceImp.idCardCheck(playerCommonReqBody);
    }
    
    @PostMapping("/AdultCheck")
    public String adultCheck(@RequestBody PlayerCommonReqBody playerCommonReqBody) {
        return Result.build().response();
        //return antiAddictionServiceImp.adultCheck(playerCommonReqBody);
    }
}
